package net.springmvc19_20.mapper;

import net.springmvc19_20.entity.Stu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface StuMapper {

    @Select("select * from newtable where name =#{name} and sn = #{sn}")
    Stu login(@Param("name") String name,@Param("sn") String sn);
}
